package com.hhkj.study.admin.resource.service.biz;

import com.hhkj.study.admin.resource.entity.ResourceCourseDoc;
import com.hhkj.study.admin.resource.model.req.ResourceCourseDocReq;
import com.hhkj.study.admin.resource.model.req.ResourceDocBatchImportReq;
import com.hhkj.study.admin.resource.model.res.ResourceCourseDocRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* ResourceCourseDocBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface ResourceCourseDocBizService extends BaseBizService<ResourceCourseDoc, ResourceCourseDocReq, ResourceCourseDocRes> {

    boolean updatePublishFlag(ResourceCourseDocReq req);

    void export(ResourceCourseDocReq req, HttpServletResponse response);

    ExcelImportResultRes importCourseDoc(MultipartFile file, HttpServletRequest request);

    boolean importBatchCourseDoc(ResourceDocBatchImportReq req);
}